package com.family.mapper;

import com.family.model.RelationShipState;
import com.family.model.Relationship;
import com.family.model.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RelationshipMapper {


    int insertRelationship(@Param("user") User user,@Param("relationships") Relationship... relationships);

    int updateRelationship(@Param("user") User user,@Param("relationships") Relationship... relationships);

//    Relationship insertRelationship(@Param("relationship") Relationship relationship);
}
